package com.zmn.oms.business.interfaces.conf.distributereason;

import com.zmn.oms.common.dro.conf.redistribute.RedistributeReasonSimpleConfDRO;
import com.zmn.oms.model.bo.conf.distribute.reason.ConfOrderDistributeReasonBO;
import com.zmn.oms.model.entity.conf.distributereason.ConfOrderDistributeReason;
import com.zmn.oms.model.entity.conf.distributereason.ConfOrderDistributeReasonQuery;
import com.zmn.oms.model.vo.conf.distributereason.ConfOrderDistributeReasonVO;

import java.util.List;

/**
 * 类描述：订单标签配置
 *
 * @author liuying
 * @date 2021/07/29 18:11
 */
public interface ConfOrderDistributeReasonBService {

    /**
     * 根据查询条件，获取改派缘由配置
     *
     * @param id
     * @return
     */
    ConfOrderDistributeReasonBO getConfOrderDistributeReasonById(Integer id);

    /**
     * 查询配置列表
     *
     * @param query
     * @return
     */
    List<ConfOrderDistributeReasonVO> listByQuery(ConfOrderDistributeReasonQuery query);

    /**
     * 查询配置列表
     *
     * @param query
     * @return
     */
    List<RedistributeReasonSimpleConfDRO> listSimpleConfByQuery(ConfOrderDistributeReasonQuery query);

    /**
     * 查询配置
     *
     * @param query
     * @return
     */
    List<ConfOrderDistributeReasonVO> listPageByQuery(ConfOrderDistributeReasonQuery query);

    /**
     * 修改状态
     *
     * @param conf
     */
    void modifyConfStatusById(ConfOrderDistributeReason conf);

    /**
     * 修改sort
     *
     * @param conf
     */
    void modifyConfSortById(ConfOrderDistributeReason conf);
}
